home *** CD-ROM | disk | FTP | other *** search
- Short: Removes double lines in sorted text-files
- Author: toenges@fact.rhein-ruhr.de (Till Toenges)
- Uploader: toenges@fact.rhein-ruhr.de (Till Toenges)
- Type: util/cli
-
- "remdoubles" is a 4:00 o'clock AM hack to remove double lines in a sorted file
- (4:00 o'clock AM hack means that it doesn't support things like CTRL_C and is
- just something i needed at 4:00 o'clock AM). It is case-sensitive and the only
- argument it needs is the filename. It takes the WHOLE stuff you typed in after
- "remdoubles" i.e.
-
- remdoubles x y z
-
- will look for a file called 'x y z', and
-
- remdoubles "x y z"
-
- will look for a file called '"x y z"'. Output will be printed to the standard
- output.
- DON'T USE LINES LONGER THAN 998 CHARS!
-
- EXAMPLE:
- ORIGINAL OUTPUT
- -------- ------
- testa testa
- testa testb
- testb testc
- testc Testc
- testc testx
- Testc testf
- testx testx
- testf teste
- testx
- teste
- teste
- teste
-
- Use the source as you like, but beware, it's not optimized (i'm relying on my
- assembler).
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 240 215 10.4% 28-May-95 13:00:04 +remdoubles
- 1695 612 63.8% 28-May-95 12:59:06 +remdoubles.asm
- 1051 533 49.2% 05-Jun-95 08:28:10 +remdoubles.readme
- -------- ------- ----- --------- --------
- 2986 1360 54.4% 23-Aug-95 15:38:08 3 files
-